package com.zxp.server.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zxp.server.dto.CommentInfo;
import com.zxp.server.mapper.BlogCommentMapper;
import com.zxp.server.service.IBlogCommentService;
import com.zxp.server.vo.BlogComment;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 朱小皮
 * @since 2022-06-11
 */
@Service
public class BlogCommentServiceImpl extends ServiceImpl<BlogCommentMapper, BlogComment> implements IBlogCommentService {
    @Autowired
    private BlogCommentMapper blogCommentMapper;
    @Override
    public List<CommentInfo> getCommentList(String blogId) {
        return blogCommentMapper.getCommentList(blogId);
    }
}
